home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20031118-20041115
/
000286_fdc@columbia.edu_Fri May 7 10:37:56 2004.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Path: newsmaster.cc.columbia.edu!not-for-mail
From: Frank da Cruz <fdc@columbia.edu>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Forcing binary mode transfer
Date: 7 May 2004 14:37:48 GMT
Organization: Columbia University
Lines: 40
Message-ID: <slrnc9n7ps.rrg.fdc@sesame.cc.columbia.edu>
References: <6bd7331b.0405070413.749e75d1@posting.google.com>
Reply-To: fdc@columbia.edu
NNTP-Posting-Host: sesame.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1083940668 14413 128.59.59.56 (7 May 2004 14:37:48 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 7 May 2004 14:37:48 GMT
User-Agent: slrn/0.9.8.0 (SunOS)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:15006
On 2004-05-07, A. Lewenberg <adam@macrotex.net> wrote:
: I am having trouble getting Kermit to transfer some files in binary
: mode. Here is the setup:
:
: I am transfering some EPS (Encapsulated PostScript) files FROM my home
: Windows 2000 machine TO a Solaris 5.8 machine. The Windows machine is
: running Kermit 95 2.1.3 while the Solaris machine is running C-Kermit
: 8.0.209.
:
: I first connect to the Solaris machine using the ssh feature of Kermit
: 95. I start Kermit on the Solaris machine with the command "kermit
: -ix" and escape back to the Kermit 95 prompt and type at the prompt
: "SET FILE TYPE BINARY". I then type "send test.eps" and the file
: "successfully" transfers but the transfer window always indicates
: "File Type: TEXT (ascii => ascii)". I do not have a .kermrc in my home
: directory on the Solaris side.
:
This is explained here:
http://www.columbia.edu/kermit/ckermit80.html#x4
See especially the SET FILE SCAN command description. Briefly, the problem
is that the EPS file is a text file in its first 48K, which is all that
Kermit's file scanner looks at by default. After that, the file contains
a binary portion.
> What do I have to do do force Kermit to send a file in binary mode?
>
Lots of choices:
1. SEND /BINARY <filename> (force binary mode for this file)
2. SET FILE SCAN ON -1 (force full file scan)
3. SET TRANSFER MODE MANUAL, SET FILE TYPE BINARY, SEND <filename>
4. SET FILE SCAN OFF, SET FILE TYPE BINARY, SEND <filename>
If you include a /TEXT or /BINARY switch with a SEND command, this
overrides all other settings and forces the indicated transfer mode.
2-4 are explained in the above Web reference.
- Frank